#include "DataStructure/Input/Element/CSHEARData.h"

using namespace SG::DataStructure;

/// @brief 判断两个CSHEARData是否相等
/// @param a
/// @param b
/// @return
bool SG::DataStructure::FEM::operator== (const CSHEARData& a, const CSHEARData& b)
{
    if (a.m_id != b.m_id)
    {
        return false;
    }
    if (a.m_pId != b.m_pId)
    {
        return false;
    }
    if (a.m_g[0] != b.m_g[0])
    {
        return false;
    }
    if (a.m_g[1] != b.m_g[1])
    {
        return false;
    }
    if (a.m_g[2] != b.m_g[2])
    {
        return false;
    }
    if (a.m_g[3] != b.m_g[3])
    {
        return false;
    }
    if (a.m_domainId != b.m_domainId)
    {
        return false;
    }
    return true;
}